# # 数据库类型 选择 数据模型
from django.conf import settings
print("数据库类型选择qqq：",settings.DATABASE_TYPE)

if settings.DATABASE_TYPE == 'mysql':
    from .mysql.mysql_user_model import UserModel, UserManager 
    from .mysql.mysql_article_model import ArticleModel
    __all__ = [UserManager,UserModel,ArticleModel]

elif settings.DATABASE_TYPE == 'sqlite':
    from .sqlite.sqlite_user_model import SqliteUserModel,SqliteUserManager 
    from .sqlite.sqlite_article_model import SqliteArticleModel 
    __all__ = [SqliteUserModel, SqliteUserManager,SqliteArticleModel]
else:
    raise ValueError("Unsupported database type specified in settings.")